package com.myschool.server.manager;

import java.util.List;

import org.myschool.common.exception.ApplicationException;

import com.myschool.server.model.User;
import com.myschool.server.model.UserType;

public interface UserManager extends Manager<User> {

	public User retrieveUser(User user);

	public boolean validateUserLogin(User user);

	public void forgotPassword(String email) throws ApplicationException;

	public void registerUser(User user) throws ApplicationException;
	
	
	public void registerSchoolAndUser(User user) throws ApplicationException;
	
	public List<User> retrieveUserByType(UserType userType);

	public void activateUser(Long userId, String key);
	public List<User> retrieveStudentBySection(Long section);

}
